package com.wfk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * APP banner图
 * </p>
 *
 * @since 2019-01-07
 */
@TableName("t_app_banners")
public class AppBanners implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

        /**
     * banner 图片
     */
         private String icon;

        /**
     * 事件见枚举类
     */
         private String event;

        /**
     * 排序
     */
         private Integer sort;

        /**
     * 地址
     */
         private String url;

        /**
     * 1首页 2限时购  3团购 
     */
         private Integer position;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getEvent() {
        return event;
    }

    public void setEvent(String event) {
        this.event = event;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    @Override
    public String toString() {
        return "AppBanners{" +
        "id=" + id +
        ", icon=" + icon +
        ", event=" + event +
        ", sort=" + sort +
        ", url=" + url +
        ", position=" + position +
        "}";
    }
}
